﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AutoSendMail
{
    class SMTPConfig
    {
        private String host = null;
        private System.Int32? port= null;
        private String userName = null;
        private String passWord = null;
        private Boolean? useDefaultCredentials = null;
        private int? maxUse = null;
        private int? currentUse = null;
        public SMTPConfig(String host, System.Int32? port, String userName, String passWord)
        {
            this.Host = host;
            this.Port = port;
            this.UserName = userName;
            this.PassWord = passWord;
        }
        public SMTPConfig()
        {
        }
        public String Host
        {
            get { return host; }
            set { host = value; }
        }
        public System.Int32? Port
        {
            get { return port; }
            set { port = value; }
        }
        public System.Int32? MaxUse
        {
            get { return maxUse; }
            set { maxUse = value; }
        }
        public System.Int32? CurrentUse
        {
            get { return currentUse; }
            set { currentUse = value; }
        }
        public String UserName
        {
            get { return userName; }
            set { userName = value; }
        }
        public String PassWord
        {
            get { return passWord; }
            set { passWord = value; }
        }
        public Boolean? UseDefaultCredentials
        {
            get { return useDefaultCredentials; }
            set { useDefaultCredentials = value; }
        }
    }
}
